<?php
/**
 * Created by PhpStorm.
 * User: HP
 * Date: 2017/6/16
 * Time: 11:04
 */
defined('BASEPATH') OR exit('No direct script access allowed');



class MY_Loader extends CI_Loader {
    protected $_theme = 'default/';

    //开启皮肤功能
    public function switch_themes_on(){
        $this->_ci_view_paths = array(FCPATH.THEMES_DIR.$this->_theme => TRUE);
        //var_dump( $this->_ci_view_paths);
    }
    //关闭皮肤功能
    public function switch_themes_off(){

    }
}